<?php 

class two{

    var $three;
    function __construct(){
        $this->three=4;
        return $this;
        }
}

class numer {
    var $one;

    function __construct(){
        $this->one=new two();
    }
}
$numerological=new numer();
echo var_dump(get_object_vars($numerological));
?> 
